﻿@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.Abp.Account.Localization
@model LINGYUN.Abp.Account.Web.Pages.Account.VerifyAuthenticatorCodeModel
@inject IHtmlLocalizer<AccountResource> L
<div class="card mt-3 shadow-sm rounded">
    <div class="card-body p-5">
        <form method="post" class="mt-4">
            <input asp-for="RememberMe" />
            <input asp-for="ReturnUrlHash" />
            <div class="form-group">
                <label asp-for="Input.VerifyCode"></label>
                <input asp-for="Input.VerifyCode" class="form-control" />
                <span asp-validation-for="Input.VerifyCode" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="RememberBrowser"></label>
                <abp-input asp-for="RememberBrowser" />
            </div>
            <abp-button type="submit" button-type="Primary" class="btn-block btn-lg mt-3">@L["VerifyAuthenticatorCode"]</abp-button>
            <a asp-page="./Login" asp-all-route-data="@(new Dictionary<string, string> {{"returnUrl", Model.ReturnUrl}, {"returnUrlHash", Model.ReturnUrlHash}})">
                <i class="fa fa-long-arrow-left"></i> @L["Login"]
            </a>
        </form>
    </div>
</div>